package org.yscz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 算法表（总分、因子类型、阴阳、正反
 * @author achen
 * @create 2021-10-09 15:29
 */
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "t_alg")
public class Alg implements Serializable {
    /**
     * 算法ID
     */
    @TableId(value = "alg_id", type = IdType.AUTO)
    private Long algId;

    /**
     * 算法名（总分、因子、阴阳、正反）
     */
    @TableField(value = "alg_name")
    private String algName;
}
